package com.peking.donations.plugins.oauth2.client;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author Vigor Yuan
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({ CustomerOAuth2ClientConfiguration.class, OAuth2Configuration.class, UserTokenServiceConfiguration.class })
public @interface EnableCustomerOAuth2 {

    String[] config() default { "gitHub" };
}
